﻿// Version:1
// Author:Sanket Naik
// Date:July-21-2010 
// Comments:
// 
// 
// 

namespace ManagedServices.Common.Logger
{
    /// <summary>
    /// Interface abstracting the Actual Logger Implementation
    /// </summary>
    public interface ILogger
    {
        /// <summary>
        /// Writes the Info Log to the Media
        /// </summary>
        /// <param name="type"></param>
        /// <param name="method"></param>
        /// <param name="message"></param>
        void WriteInfo(string type, string method, string message);

        /// <summary>
        /// Writes the Debug Log to the Media
        /// </summary>
        /// <param name="type"></param>
        /// <param name="method"></param>
        /// <param name="message"></param>
        void WriteDebug(string type, string method, string message);

        /// <summary>
        /// Writes the Warning Log to the Media
        /// </summary>
        /// <param name="type"></param>
        /// <param name="method"></param>
        /// <param name="message"></param>
        void WriteWarning(string type, string method, string message);

        /// <summary>
        /// Writes the Error Log to the Media
        /// </summary>
        /// <param name="type"></param>
        /// <param name="method"></param>
        /// <param name="message"></param>
        void WriteError(string type, string method, string message);
    }
}